import { createApp } from 'vue'
import App from './App.vue'
import router from './router' // 确保这里导入的是 router 实例

const app = createApp(App)

// ... existing code ...

app.use(router) // 这行代码本身通常是正确的

// ... existing code ...

app.mount('#app')